<template>
    <div class="listDeal">
        <div class="zanwu" v-if="uncheklist.length==0">
            <i class="iconfont icon-zanwushuju"></i>
            暂无数据
        </div>
        <div class="list" v-for="item in uncheklist" :key="item.value" @click="goDetails(item.safeId)">
            <div><b>{{item.reactcontent}}</b><i class="iconfont icon-jiantou-copy right"></i></div>
            <div class="flex">
                <div class="type">处理人：{{item.safeDealName}}</div>
                <div class="type">项目：{{item.safeCheck}}</div>
            </div>
            <div class="flex">
                <div class="type">处理时限：{{item.timelimit}}天</div>
                <div class="type">{{item.time}}</div>
            </div>
        </div>
    </div>
</template>

<script>
export default {
    data() {
        return {
            uncheklist: []
        }
    },
    mounted() {
        this.getUncheklist()
    },
    methods: {
        getUncheklist() {
            this.$api.safe.uncheklist().then(res => {
                if (res.success) {
                    this.uncheklist = res.data
                }
            });
        },
        goDetails(safeId) {
            this.$router.push({ path: '/details-sh', query: { safeId: safeId } })
        }
    }
}
</script>

<style lang="less">
</style>
